package br.com.sistec.dao;

import java.io.Serializable;
import java.util.List;

public interface DAOGenerico<T, ID extends Serializable> {
	
	public T findPorId(ID id);
	public List<T> listar();
	public boolean save(T entity);
	public boolean merge(T entity);
	public boolean update(T entity);
	public boolean saveOrUpdate(T entity);
	public boolean delete(T entity);

}
